package net.xju3_4.service.impl;
import net.xju3_4.common.utils.PageInfo;
import net.xju3_4.dao.MerchantDao;
import net.xju3_4.entity.MerchantEntity;
import net.xju3_4.service.AdminMerchantService;

public class AdminMerchantServiceImpl implements AdminMerchantService {
    private MerchantDao merchantDao=new MerchantDao();
    @Override
    public PageInfo<MerchantEntity> pagelist(Integer pageNo, Integer pageSize, MerchantEntity merchant) {
       return merchantDao.pagelist(pageNo, pageSize, merchant);
    }

    @Override
    public int forbid(Integer id) {
        return merchantDao.forbid(id);
    }

    @Override
    public int activate(Integer id) {
        return merchantDao.activate(id);
    }
}
